﻿using System;

namespace DJY.Domain.ViewModel
{
    /// <summary>
    /// 查询参数
    /// </summary>
    public class WFCategoryQueryInfo
    {
        /// <summary>
        /// 当前登陆用户ID
        /// </summary>
        public string userId { get; set; }

        /// <summary>
        /// 单位ID
        /// </summary>
        public string orgId { get; set; }

        /// <summary>
        /// 是否是系统管理员
        /// </summary>
        public bool isSys { get; set; }

        /// <summary>
        /// 分类ID
        /// </summary>
        /// <value></value>
        public int? id { get; set; }

        /// <summary>
        /// 分类编码
        /// </summary>
        /// <value></value>
        public string code {get;set;}

        /// <summary>
        /// 父级ID
        /// </summary>
        /// <value></value>
        public int? parentId{get;set;}

        /// <summary>
        /// 名称
        /// </summary>
    	public string name
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 备注
        /// </summary>
    	public string remark
    	{
    		get;
    		set;
    	}
        
        /// <summary>
        /// 删除标记
        /// </summary>
    	public bool? fDeleteMark
    	{
    		get;
    		set;
    	}
    
        /// <summary>
        /// 每页行数
        /// </summary>
        public int rows { get; set; } = 20;
        /// <summary>
        /// 当前页
        /// </summary>
        public int page { get; set; } = 1;
        /// <summary>
        /// 排序列
        /// </summary>
        public string sidx { get; set; }
        /// <summary>
        /// 排序类型
        /// </summary>
        public string sord { get; set; } = "desc";
    }
}

